<?php

class Navigation_Rescusive {

  protected $_data;

  /**
   *
   * @param array $dataset  sorted array as item [id, parent_id]
   *
   */
  public function group() {
    
  }

  public function build($dataset) {
    
  }

}